package com.woniuxy.microsysserver.service;

import com.woniuxy.microsysserver.entity.MemberCouponEntity;

import java.util.List;

public interface MemberCouponService {
    int getcoupon(String username, List<Integer> currentCouponIds);

    List<MemberCouponEntity> getcouponByUsername(String username);

    List<MemberCouponEntity> selectUsedCouponByUsername(String username);

    MemberCouponEntity getOneById(Integer couponId);

    String getHostAndPort();

    int updateHostAndPort(String url);
}

